﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                assembly="Inovout.Cloud.Monitoring"
				       namespace="Inovout.Cloud.Monitoring.Models" >

  <class name="Operater" table="Monitoring_Operation">
    <id name="Id" access="field.camelcase"
        column="OperationId" type="Int32">
      <generator class="native" />
    </id>
    <property name="Name" />
    <property name="Operator" />
    <property name="TableName" />
    <property name="Columns" />
    <property name="Result_column" />
    <property name="Tag" />
    <property name="Value_column" />
    <property name="Realtime" />
    <property name="Conditions" />
    <many-to-one name="Aspect" column="AspectId" />


    <!--下面是固定每张表必须追加的内容，不需要修改和删除！-->
    <property name="CreatedTime" access="field.camelcase" />
    <property name="CreatedUserName" access="field.camelcase" />
    <property name="ModifiedTime" access="field.camelcase" />
    <property name="ModifiedUserName" access="field.camelcase" />
    <property name="AccessedTime" access="field.camelcase" />
    <property name="AccessedUserName" access="field.camelcase" />
    <property name="Memo" />
    <property name="IsInvalid" />
  </class>
</hibernate-mapping>


